home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cato / Xm / XmTextFieldGetSelectionPosition.z / XmTextFieldGetSelectionPosition
Encoding:
Text File  |  1998-10-20  |  3.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddGGGGeeeettttSSSSeeeelllleeeeccccttttiiiioooonnnnPPPPoooossssiiiiUUUUttttNNNNiiiiIIIIooooXXXXnnnnXXXX((((SSSSmmmm3333yyyyTTTTXXXXsssseeee))))ttttxxxxeeeettttmmmmFFFFiiiiVVVVeeeellllddddGGGGeeeettttSSSSeeeelllleeeeccccttttiiiioooonnnnPPPPoooossssiiiittttiiiioooonnnn((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddGGGGeeeettttSSSSeeeelllleeeeccccttttiiiioooonnnnPPPPoooossssiiiittttiiiioooonnnn - A TextField function that
  10.           accesses the position of the primary selection
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           ####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////TTTTeeeexxxxttttFFFF....hhhh>>>>
  14.  
  15.           BBBBoooooooolllleeeeaaaannnn XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddGGGGeeeettttSSSSeeeelllleeeeccccttttiiiioooonnnnPPPPoooossssiiiittttiiiioooonnnn ((((_w_i_d_g_e_t, _l_e_f_t, _r_i_g_h_t))))
  16.                WWWWiiiiddddggggeeeetttt    _w_i_d_g_e_t;;;;
  17.                XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn*_l_e_f_t;;;;
  18.                XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn*_r_i_g_h_t;;;;
  19.  
  20.  
  21.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  22.           This page documents version 1.2 of the Motif library.
  23.  
  24.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  25.           XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddGGGGeeeettttSSSSeeeelllleeeeccccttttiiiioooonnnnPPPPoooossssiiiittttiiiioooonnnn accesses the left and right
  26.           position of the primary selection in the text buffer of the
  27.           TextField widget.
  28.  
  29.  
  30.           _w_i_d_g_e_t Specifies the TextField widget ID
  31.  
  32.           _l_e_f_t   Specifies the pointer in which the position of the
  33.                  left boundary of the primary selection is returned.
  34.                  This is an integer number of characters from the
  35.                  beginning of the buffer.  The first character
  36.                  position is 0.
  37.  
  38.           _r_i_g_h_t  Specifies the pointer in which the position of the
  39.                  right boundary of the primary selection is returned.
  40.                  This is an integer number of characters from the
  41.                  beginning of the buffer.  The first character
  42.                  position is 0.
  43.  
  44.  
  45.           For a complete definition of TextField and its associated
  46.           resources, see XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeelllldddd((((3333XXXX)))).
  47.  
  48.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  49.           This function returns True if the widget owns the primary
  50.           selection; otherwise, it returns False.
  51.  
  52.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  53.           XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeelllldddd((((3333XXXX)))).
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.